<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>词条列表</title>

</head>

<body>
<form action="/baike/createEntry">
	<input type="submit" value="创建"/>	
</form>
	
    <c:if test="${empty requestScope.entry}">

        没有词条信息

    </c:if>

    <c:if test="${!empty requestScope.entry }">
<!-- 
<table border="1" cellpadding="10" cellspacing="0">

            <tr>

                <th>id</th>

                <th>标题</th>

                <th>详细信息</th>

                <th>创建者</th>

                <th>被搜索次数</th>

                <th>创建日期</th>
				<th>最后修改日期</th>
                <th>词条标签</th>
                <th>文件</th>
                

            </tr>


 -->
        

             
            <c:forEach items="${requestScope.entry }" var="emp">
			<a href="/baike/getEntryDetail/${emp.id}">${emp.topic}</a>
       

            </c:forEach>

     <!--  </table> -->  

    </c:if>

    <br><br>

</body>

</html>